package cn.wom.core.service;

import java.util.List;

import cn.wom.core.bean.MissionOrder;
import cn.wom.core.bean.QueryPojo;
import cn.wom.core.bean.User;
import cn.wom.core.bean.WorkOrder;

public interface OrderService {
	
	public boolean register(User user);
	
	public boolean saveMissionOrder(MissionOrder m_order);

	public boolean insertWorkOrderAndUpdateChild(WorkOrder w_order);
	
	public boolean updateWorkOrderAndUpdateChild(WorkOrder w_order);

	public boolean deleteWorkOrder(String m_id, String w_id);
	
	public boolean deleteMissionOrder(String m_id);
	
	public List<WorkOrder> selectWorkOrderList(QueryPojo q_pojo);
	
	public WorkOrder selectWorkOrder(String w_id);
	
	public MissionOrder selectMissionOrder(String m_id);
	
	
}
